import request from '@/utils/request'

// 查询头像审核列表
export function listTechnicianAvatarAudit(query) {
  return request({
    url: '/technicianAvatarAudit/technicianAvatarAudit/list',
    method: 'get',
    params: query
  })
}

// 查询头像审核详细
export function getTechnicianAvatarAudit(id) {
  return request({
    url: '/technicianAvatarAudit/technicianAvatarAudit/' + id,
    method: 'get'
  })
}

// 新增头像审核
export function addTechnicianAvatarAudit(data) {
  return request({
    url: '/technicianAvatarAudit/technicianAvatarAudit',
    method: 'post',
    data: data
  })
}

// 修改头像审核
export function updateTechnicianAvatarAudit(data) {
  return request({
    url: '/technicianAvatarAudit/technicianAvatarAudit',
    method: 'put',
    data: data
  })
}

// 删除头像审核
export function delTechnicianAvatarAudit(id) {
  return request({
    url: '/technicianAvatarAudit/technicianAvatarAudit/' + id,
    method: 'delete'
  })
}
